TAGs: Solve polynomial equation